#define _CRT_SECURE_NO_WARNINGS 1
#include"queue.h"
namespace zkf
{
	void test1()
	{
		queue<int> as;
		as.push(1);
		as.push(2);
		as.push(3);
		as.push(4);
		as.push(5);
		as.push(6);
		as.push(7);
		for (size_t i = 0; i < as.size(); i++)
		{
			cout << as[i] << " ";
		}
		cout << endl;
		as.pop();
		for (size_t i = 0; i < as.size(); i++)
		{
			cout << as[i] << " ";
		}
		cout << endl;
		cout << as.back() << endl;
		cout << as.front() << endl;
	}
}
int main()
{
	zkf::test1();
	return 0;
}